﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class PaymentTypeBase
    {
        private int paymenttypeid;
        private string name;
        private string brand;
        private string description;
        private int typecode; 
        private string websiteurl;

        public PaymentTypeBase() { }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="paymenttypeid"></param>
        /// <param name="name"></param>
        /// <param name="brand"></param>
        /// <param name="description"></param>
        /// <param name="typecode"></param>
        public PaymentTypeBase(int paymenttypeid, string name, string brand, string description, int typecode, string websiteurl)
        {
            this.paymenttypeid = paymenttypeid;
            this.name = name;
            this.brand = brand;
            this.description = description;
            this.typecode = typecode;
            this.websiteurl = websiteurl;
        }

        /// <summary>
		/// 
		/// </summary>
		public int PaymentTypeId
		{
			set{ paymenttypeid=value;}
			get{return paymenttypeid;}
		}
		/// <summary>
		/// 名称
		/// </summary>
		public string Name
		{
			set{ name=value;}
			get{return name;}
		}
		/// <summary>
		/// 支付平台LOGO
   
		/// </summary>
		public string Brand
		{
			set{ brand=value;}
			get{return brand;}
		}
		/// <summary>
		/// 描述信息
		/// </summary>
		public string Description
		{
			set{ description=value;}
			get{return description;}
		}
		/// <summary>
		/// 1 网银支付, 2 支付平台
		/// </summary>
		public int TypeCode
		{
			set{ typecode=value;}
			get{return typecode;}
		}
        /// <summary>
        /// 网址
        /// </summary>
        public string WebsiteURL
        {
            set { websiteurl = value; }
            get { return websiteurl; }
        }
    }
}
